#ifndef EFFICCALCMETHODEXCEPTION_H
#define EFFICCALCMETHODEXCEPTION_H

#include <exception>
#include <string>

using namespace std;

namespace EfficCalcMethods {
    class EfficCalcMethodException : public std::exception {
        string desc;
        public:
        EfficCalcMethodException(string _desc) {desc=_desc;}
        virtual const char * what() const throw() {return desc.c_str();}
        ~EfficCalcMethodException() throw () {}
    };
}

#endif
